/*!
 * Node-base module v1.0.0 of jRaiser javascript library
 * http://code.google.com/p/jraiser/
 *
 * Author: Heero.Luo
 * Licensed under MIT license
 *
 * Date: Tue Jun 05 2012 10:36:05 GMT+0800
 */
define(["core/1.0.x/core"],function(e,t,n){"use strict";var r=e("core/1.0.x/core"),i="_jRaiserNodeId_",s=/\s+/,o=0;r.extend(t,{isNode:function(e){return"nodeType"in e},isXMLNode:function(e){var t=(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},isWindow:function(e){return e&&typeof e=="object"&&"setInterval"in e},uniqueIdAttrName:function(){return i},uniqueId:function(e){var t=e[i]=e[i]||new Number(++o);return t.valueOf()},splitBySpace:function(e){return typeof e=="string"&&(e=e.split(s)),e==null||e.length===0?null:e}})})